package com.movie.config;

import org.springframework.stereotype.Component;

@Component
public class DataInitializer {

    public DataInitializer() {
        System.out.println("应用已启动，请通过API添加电影数据或使用/movie/init接口初始化示例数据");
        System.out.println("API接口:");
        System.out.println("  GET  /api/movies - 获取所有电影");
        System.out.println("  GET  /api/movies/{id} - 获取特定电影");
        System.out.println("  POST /api/movies - 添加新电影");
    }
}